package com.ourteam.product.ui.dao;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;
import org.apache.commons.lang.StringUtils;

/**
 * Template Name : DAO查询对象 Template Version : 1 Template Last Modfiy Date : Sat Aug 19 10:06:32 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:11 Warning ! This file will be overwrite when
 * regenerate !
 */
public class ProductUIFormFieldDAOQueryBean extends BaseQueryBean {

  public ProductUIFormFieldDAOQueryBean() {
    super();
  }

  public ProductUIFormFieldDAOQueryBean(BaseQueryBean aQueryBean) {
    super(aQueryBean);
  }

  public ProductUIFormFieldDAOQueryBean(BaseQueryBean aQueryBean, Map tableReplaceMap) {
    super(aQueryBean, tableReplaceMap);
  }

  public Criteria createCriteria() {

    Criteria criteria = createCriteriaInternal();
    if (oredCriteria.size() == 0) {
      oredCriteria.add(criteria);
    }
    return criteria;
  }

  protected Criteria createCriteriaInternal() {
    return new Criteria(this);
  }

  public void addIdSelectProperty() {
    addIdSelectProperty("id");
  }

  public void addIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.Id, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.Id, "id");
    }
  }

  public void addParentIdSelectProperty() {
    addParentIdSelectProperty("parentId");
  }

  public void addParentIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.ParentId, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.ParentId, "parentId");
    }
  }

  public void addFormIdSelectProperty() {
    addFormIdSelectProperty("formId");
  }

  public void addFormIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.FormId, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.FormId, "formId");
    }
  }

  public void addTypeIdSelectProperty() {
    addTypeIdSelectProperty("typeId");
  }

  public void addTypeIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.TypeId, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.TypeId, "typeId");
    }
  }

  public void addCodeSelectProperty() {
    addCodeSelectProperty("code");
  }

  public void addCodeSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.Code, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.Code, "code");
    }
  }

  public void addTitleSelectProperty() {
    addTitleSelectProperty("title");
  }

  public void addTitleSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.Title, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.Title, "title");
    }
  }

  public void addTitleKeySelectProperty() {
    addTitleKeySelectProperty("titleKey");
  }

  public void addTitleKeySelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.TitleKey, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.TitleKey, "titleKey");
    }
  }

  public void addTipInfoSelectProperty() {
    addTipInfoSelectProperty("tipInfo");
  }

  public void addTipInfoSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.TipInfo, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.TipInfo, "tipInfo");
    }
  }

  public void addReadOnlySelectProperty() {
    addReadOnlySelectProperty("readOnly");
  }

  public void addReadOnlySelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.ReadOnly, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.ReadOnly, "readOnly");
    }
  }

  public void addAllowEmptySelectProperty() {
    addAllowEmptySelectProperty("allowEmpty");
  }

  public void addAllowEmptySelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.AllowEmpty, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.AllowEmpty, "allowEmpty");
    }
  }

  public void addDataSourceSelectProperty() {
    addDataSourceSelectProperty("dataSource");
  }

  public void addDataSourceSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.DataSource, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.DataSource, "dataSource");
    }
  }

  public void addStyleSelectProperty() {
    addStyleSelectProperty("style");
  }

  public void addStyleSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.Style, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.Style, "style");
    }
  }

  public void addParameterValueSelectProperty() {
    addParameterValueSelectProperty("parameterValue");
  }

  public void addParameterValueSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.ParameterValue, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.ParameterValue, "parameterValue");
    }
  }

  public void addSortIndexSelectProperty() {
    addSortIndexSelectProperty("sortIndex");
  }

  public void addSortIndexSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.SortIndex, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.SortIndex, "sortIndex");
    }
  }

  public void addStatusSelectProperty() {
    addStatusSelectProperty("status");
  }

  public void addStatusSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.Status, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.Status, "status");
    }
  }

  public void addRemarksSelectProperty() {
    addRemarksSelectProperty("remarks");
  }

  public void addRemarksSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.Remarks, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.Remarks, "remarks");
    }
  }

  public void addModelPropertyIdSelectProperty() {
    addModelPropertyIdSelectProperty("modelPropertyId");
  }

  public void addModelPropertyIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.ModelPropertyId, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.ModelPropertyId, "modelPropertyId");
    }
  }

  public void addFieldSpanSelectProperty() {
    addFieldSpanSelectProperty("fieldSpan");
  }

  public void addFieldSpanSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.FieldSpan, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.FieldSpan, "fieldSpan");
    }
  }

  public void addFieldColumnSelectProperty() {
    addFieldColumnSelectProperty("fieldColumn");
  }

  public void addFieldColumnSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.FieldColumn, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.FieldColumn, "fieldColumn");
    }
  }

  public void addRemenberValueSelectProperty() {
    addRemenberValueSelectProperty("remenberValue");
  }

  public void addRemenberValueSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.RemenberValue, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.RemenberValue, "remenberValue");
    }
  }

  public void addTypeWidgetSelectProperty() {
    addTypeWidgetSelectProperty("typeWidget");
  }

  public void addTypeWidgetSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.TypeWidget, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.TypeWidget, "typeWidget");
    }
  }

  public void addTypeNameSelectProperty() {
    addTypeNameSelectProperty("typeName");
  }

  public void addTypeNameSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.TypeName, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.TypeName, "typeName");
    }
  }

  public void addAllowSubFieldSelectProperty() {
    addAllowSubFieldSelectProperty("allowSubField");
  }

  public void addAllowSubFieldSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.AllowSubField, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.AllowSubField, "allowSubField");
    }
  }

  public void addTypeIconSelectProperty() {
    addTypeIconSelectProperty("typeIcon");
  }

  public void addTypeIconSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.TypeIcon, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.TypeIcon, "typeIcon");
    }
  }

  public void addDataSourceCodeSelectProperty() {
    addDataSourceCodeSelectProperty("dataSourceCode");
  }

  public void addDataSourceCodeSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.DataSourceCode, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.DataSourceCode, "dataSourceCode");
    }
  }

  public void addDataSourceNameSelectProperty() {
    addDataSourceNameSelectProperty("dataSourceName");
  }

  public void addDataSourceNameSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldDAO.DataSourceName, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldDAO.DataSourceName, "dataSourceName");
    }
  }

  public void addAllSelectProperties() {

    addIdSelectProperty();

    addParentIdSelectProperty();

    addFormIdSelectProperty();

    addTypeIdSelectProperty();

    addCodeSelectProperty();

    addTitleSelectProperty();

    addTitleKeySelectProperty();

    addTipInfoSelectProperty();

    addReadOnlySelectProperty();

    addAllowEmptySelectProperty();

    addDataSourceSelectProperty();

    addStyleSelectProperty();

    addParameterValueSelectProperty();

    addSortIndexSelectProperty();

    addStatusSelectProperty();

    addRemarksSelectProperty();

    addModelPropertyIdSelectProperty();

    addFieldSpanSelectProperty();

    addFieldColumnSelectProperty();

    addRemenberValueSelectProperty();

    addTypeWidgetSelectProperty();

    addTypeNameSelectProperty();

    addAllowSubFieldSelectProperty();

    addTypeIconSelectProperty();

    addDataSourceCodeSelectProperty();

    addDataSourceNameSelectProperty();
  }

  public static class Criteria extends BaseWhereCriterion<ProductUIFormFieldDAOQueryBean> {

    protected Criteria(ProductUIFormFieldDAOQueryBean aParentObject) {
      super(aParentObject);
    }

    public Criteria andIdIsNull() {
      addCriterion(IProductUIFormFieldDAO.Id + " is null");
      return this;
    }

    public Criteria andIdIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.Id + " is not null");
      return this;
    }

    public Criteria andIdIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.Id + " is not null AND " + IProductUIFormFieldDAO.Id + " <> ''");
      return this;
    }

    public Criteria andIdIsEmpty() {
      addCriterion(
          "(" + IProductUIFormFieldDAO.Id + " is null OR " + IProductUIFormFieldDAO.Id + " = '')");
      return this;
    }

    public Criteria andIdEqualTo(long value) {
      return andIdEqualTo(Long.valueOf(value));
    }

    public Criteria andIdEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.Id + " = ", value, "id");
      return this;
    }

    public Criteria andIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Id);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Id + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotEqualTo(long value) {
      return andIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andIdNotEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.Id + " <>", value, "id");
      return this;
    }

    public Criteria andIdNotEqualToOrIsNull(long value) {
      return andIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IProductUIFormFieldDAO.Id + " is null OR " + IProductUIFormFieldDAO.Id + " <>",
          value,
          "id");
      return this;
    }

    public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Id);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Id + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThan(long value) {
      return andIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andIdGreaterThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.Id + " >", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Id);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Id + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(long value) {
      return andIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.Id + " >=", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Id);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Id + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThan(long value) {
      return andIdLessThan(Long.valueOf(value));
    }

    public Criteria andIdLessThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.Id + " <", value, "id");
      return this;
    }

    public Criteria andIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Id);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Id + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(long value) {
      return andIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.Id + " <=", value, "id");
      return this;
    }

    public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Id);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Id + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdIn(long[] values) {
      if (values.length == 1) {
        return andIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andIdEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andIdEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Id + " in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Id + " not in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Id + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Id + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdBetween(long value1, long value2) {
      addCriterion(IProductUIFormFieldDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIFormFieldDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(long value1, long value2) {
      addCriterion(IProductUIFormFieldDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIFormFieldDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andParentIdIsNull() {
      addCriterion(IProductUIFormFieldDAO.ParentId + " is null");
      return this;
    }

    public Criteria andParentIdIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.ParentId + " is not null");
      return this;
    }

    public Criteria andParentIdIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.ParentId
              + " is not null AND "
              + IProductUIFormFieldDAO.ParentId
              + " <> ''");
      return this;
    }

    public Criteria andParentIdIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.ParentId
              + " is null OR "
              + IProductUIFormFieldDAO.ParentId
              + " = '')");
      return this;
    }

    public Criteria andParentIdEqualTo(long value) {
      return andParentIdEqualTo(Long.valueOf(value));
    }

    public Criteria andParentIdEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ParentId + " = ", value, "parentId");
      return this;
    }

    public Criteria andParentIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParentId);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParentIdEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andParentIdNotEqualTo(long value) {
      return andParentIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andParentIdNotEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ParentId + " <>", value, "parentId");
      return this;
    }

    public Criteria andParentIdNotEqualToOrIsNull(long value) {
      return andParentIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andParentIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IProductUIFormFieldDAO.ParentId
              + " is null OR "
              + IProductUIFormFieldDAO.ParentId
              + " <>",
          value,
          "parentId");
      return this;
    }

    public Criteria andParentIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParentId);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParentIdNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andParentIdGreaterThan(long value) {
      return andParentIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andParentIdGreaterThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ParentId + " >", value, "parentId");
      return this;
    }

    public Criteria andParentIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParentId);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParentIdGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andParentIdGreaterThanOrEqualTo(long value) {
      return andParentIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andParentIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ParentId + " >=", value, "parentId");
      return this;
    }

    public Criteria andParentIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParentId);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParentIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andParentIdLessThan(long value) {
      return andParentIdLessThan(Long.valueOf(value));
    }

    public Criteria andParentIdLessThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ParentId + " <", value, "parentId");
      return this;
    }

    public Criteria andParentIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParentId);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParentIdLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andParentIdLessThanOrEqualTo(long value) {
      return andParentIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andParentIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ParentId + " <=", value, "parentId");
      return this;
    }

    public Criteria andParentIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParentId);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParentIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andParentIdIn(long[] values) {
      if (values.length == 1) {
        return andParentIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.ParentId + " in", values, "parentId");
        return this;
      }
    }

    public Criteria andParentIdNotIn(long[] values) {
      if (values.length == 1) {
        return andParentIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.ParentId + " not in", values, "parentId");
        return this;
      }
    }

    public Criteria andParentIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andParentIdEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.ParentId + " in", values, "parentId");
        return this;
      }
    }

    public Criteria andParentIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andParentIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.ParentId + " not in", values, "parentId");
        return this;
      }
    }

    public Criteria andParentIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andParentIdEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.ParentId + " in", Arrays.asList(values), "parentId");
        return this;
      }
    }

    public Criteria andParentIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andParentIdNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.ParentId + " not in", Arrays.asList(values), "parentId");
        return this;
      }
    }

    public Criteria andParentIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andParentIdNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andParentIdBetween(long value1, long value2) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " between", value1, value2, "parentId");
      return this;
    }

    public Criteria andParentIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " between", value1, value2, "parentId");
      return this;
    }

    public Criteria andParentIdNotBetween(long value1, long value2) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " not between", value1, value2, "parentId");
      return this;
    }

    public Criteria andParentIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIFormFieldDAO.ParentId + " not between", value1, value2, "parentId");
      return this;
    }

    public Criteria andFormIdIsNull() {
      addCriterion(IProductUIFormFieldDAO.FormId + " is null");
      return this;
    }

    public Criteria andFormIdIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.FormId + " is not null");
      return this;
    }

    public Criteria andFormIdIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.FormId
              + " is not null AND "
              + IProductUIFormFieldDAO.FormId
              + " <> ''");
      return this;
    }

    public Criteria andFormIdIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.FormId
              + " is null OR "
              + IProductUIFormFieldDAO.FormId
              + " = '')");
      return this;
    }

    public Criteria andFormIdEqualTo(long value) {
      return andFormIdEqualTo(Long.valueOf(value));
    }

    public Criteria andFormIdEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.FormId + " = ", value, "formId");
      return this;
    }

    public Criteria andFormIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FormId);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFormIdEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FormId + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andFormIdNotEqualTo(long value) {
      return andFormIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andFormIdNotEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.FormId + " <>", value, "formId");
      return this;
    }

    public Criteria andFormIdNotEqualToOrIsNull(long value) {
      return andFormIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andFormIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IProductUIFormFieldDAO.FormId + " is null OR " + IProductUIFormFieldDAO.FormId + " <>",
          value,
          "formId");
      return this;
    }

    public Criteria andFormIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FormId);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFormIdNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FormId + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andFormIdGreaterThan(long value) {
      return andFormIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andFormIdGreaterThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.FormId + " >", value, "formId");
      return this;
    }

    public Criteria andFormIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FormId);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFormIdGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FormId + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andFormIdGreaterThanOrEqualTo(long value) {
      return andFormIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andFormIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.FormId + " >=", value, "formId");
      return this;
    }

    public Criteria andFormIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FormId);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFormIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FormId + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFormIdLessThan(long value) {
      return andFormIdLessThan(Long.valueOf(value));
    }

    public Criteria andFormIdLessThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.FormId + " <", value, "formId");
      return this;
    }

    public Criteria andFormIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FormId);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFormIdLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FormId + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andFormIdLessThanOrEqualTo(long value) {
      return andFormIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andFormIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.FormId + " <=", value, "formId");
      return this;
    }

    public Criteria andFormIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FormId);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFormIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FormId + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFormIdIn(long[] values) {
      if (values.length == 1) {
        return andFormIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.FormId + " in", values, "formId");
        return this;
      }
    }

    public Criteria andFormIdNotIn(long[] values) {
      if (values.length == 1) {
        return andFormIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.FormId + " not in", values, "formId");
        return this;
      }
    }

    public Criteria andFormIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andFormIdEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.FormId + " in", values, "formId");
        return this;
      }
    }

    public Criteria andFormIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andFormIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.FormId + " not in", values, "formId");
        return this;
      }
    }

    public Criteria andFormIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andFormIdEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.FormId + " in", Arrays.asList(values), "formId");
        return this;
      }
    }

    public Criteria andFormIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andFormIdNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.FormId + " not in", Arrays.asList(values), "formId");
        return this;
      }
    }

    public Criteria andFormIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FormId + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFormIdNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FormId + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFormIdBetween(long value1, long value2) {
      addCriterion(IProductUIFormFieldDAO.FormId + " between", value1, value2, "formId");
      return this;
    }

    public Criteria andFormIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIFormFieldDAO.FormId + " between", value1, value2, "formId");
      return this;
    }

    public Criteria andFormIdNotBetween(long value1, long value2) {
      addCriterion(IProductUIFormFieldDAO.FormId + " not between", value1, value2, "formId");
      return this;
    }

    public Criteria andFormIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIFormFieldDAO.FormId + " not between", value1, value2, "formId");
      return this;
    }

    public Criteria andTypeIdIsNull() {
      addCriterion(IProductUIFormFieldDAO.TypeId + " is null");
      return this;
    }

    public Criteria andTypeIdIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.TypeId + " is not null");
      return this;
    }

    public Criteria andTypeIdIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.TypeId
              + " is not null AND "
              + IProductUIFormFieldDAO.TypeId
              + " <> ''");
      return this;
    }

    public Criteria andTypeIdIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.TypeId
              + " is null OR "
              + IProductUIFormFieldDAO.TypeId
              + " = '')");
      return this;
    }

    public Criteria andTypeIdEqualTo(long value) {
      return andTypeIdEqualTo(Long.valueOf(value));
    }

    public Criteria andTypeIdEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.TypeId + " = ", value, "typeId");
      return this;
    }

    public Criteria andTypeIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeId);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIdEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIdNotEqualTo(long value) {
      return andTypeIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andTypeIdNotEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.TypeId + " <>", value, "typeId");
      return this;
    }

    public Criteria andTypeIdNotEqualToOrIsNull(long value) {
      return andTypeIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andTypeIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IProductUIFormFieldDAO.TypeId + " is null OR " + IProductUIFormFieldDAO.TypeId + " <>",
          value,
          "typeId");
      return this;
    }

    public Criteria andTypeIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeId);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIdNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIdGreaterThan(long value) {
      return andTypeIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andTypeIdGreaterThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.TypeId + " >", value, "typeId");
      return this;
    }

    public Criteria andTypeIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeId);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIdGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIdGreaterThanOrEqualTo(long value) {
      return andTypeIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andTypeIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.TypeId + " >=", value, "typeId");
      return this;
    }

    public Criteria andTypeIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeId);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIdLessThan(long value) {
      return andTypeIdLessThan(Long.valueOf(value));
    }

    public Criteria andTypeIdLessThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.TypeId + " <", value, "typeId");
      return this;
    }

    public Criteria andTypeIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeId);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIdLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIdLessThanOrEqualTo(long value) {
      return andTypeIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andTypeIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.TypeId + " <=", value, "typeId");
      return this;
    }

    public Criteria andTypeIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeId);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIdIn(long[] values) {
      if (values.length == 1) {
        return andTypeIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeId + " in", values, "typeId");
        return this;
      }
    }

    public Criteria andTypeIdNotIn(long[] values) {
      if (values.length == 1) {
        return andTypeIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeId + " not in", values, "typeId");
        return this;
      }
    }

    public Criteria andTypeIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andTypeIdEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeId + " in", values, "typeId");
        return this;
      }
    }

    public Criteria andTypeIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andTypeIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeId + " not in", values, "typeId");
        return this;
      }
    }

    public Criteria andTypeIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andTypeIdEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeId + " in", Arrays.asList(values), "typeId");
        return this;
      }
    }

    public Criteria andTypeIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andTypeIdNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeId + " not in", Arrays.asList(values), "typeId");
        return this;
      }
    }

    public Criteria andTypeIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIdNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIdBetween(long value1, long value2) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " between", value1, value2, "typeId");
      return this;
    }

    public Criteria andTypeIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " between", value1, value2, "typeId");
      return this;
    }

    public Criteria andTypeIdNotBetween(long value1, long value2) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " not between", value1, value2, "typeId");
      return this;
    }

    public Criteria andTypeIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIFormFieldDAO.TypeId + " not between", value1, value2, "typeId");
      return this;
    }

    public Criteria andCodeIsNull() {
      addCriterion(IProductUIFormFieldDAO.Code + " is null");
      return this;
    }

    public Criteria andCodeIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.Code + " is not null");
      return this;
    }

    public Criteria andCodeIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.Code
              + " is not null AND "
              + IProductUIFormFieldDAO.Code
              + " <> ''");
      return this;
    }

    public Criteria andCodeIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.Code
              + " is null OR "
              + IProductUIFormFieldDAO.Code
              + " = '')");
      return this;
    }

    public Criteria andCodeEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Code + " = ", value, "code");
      return this;
    }

    public Criteria andCodeEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Code);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andCodeEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Code + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andCodeNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Code + " <>", value, "code");
      return this;
    }

    public Criteria andCodeNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.Code + " is null OR " + IProductUIFormFieldDAO.Code + " <>",
          value,
          "code");
      return this;
    }

    public Criteria andCodeNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Code);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andCodeNotEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Code + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andCodeGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.Code + " >", value, "code");
      return this;
    }

    public Criteria andCodeGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Code);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andCodeGreaterThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Code + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andCodeGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Code + " >=", value, "code");
      return this;
    }

    public Criteria andCodeGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Code);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andCodeGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Code + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andCodeLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.Code + " <", value, "code");
      return this;
    }

    public Criteria andCodeLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Code);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andCodeLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Code + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andCodeLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Code + " <=", value, "code");
      return this;
    }

    public Criteria andCodeLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Code);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andCodeLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Code + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andCodeLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.Code + " like", buffer.toString(), "code");
      return this;
    }

    public Criteria andCodeNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.Code + " not like", buffer.toString(), "code");
      return this;
    }

    public Criteria andCodeIn(List<String> values) {

      if (values.size() == 1) {
        return andCodeEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Code + " in", values, "code");
        return this;
      }
    }

    public Criteria andCodeNotIn(List<String> values) {
      if (values.size() == 1) {
        return andCodeNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Code + " not in", values, "code");
        return this;
      }
    }

    public Criteria andCodeIn(String[] values) {

      if (values.length == 1) {
        return andCodeEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Code + " in", Arrays.asList(values), "code");
        return this;
      }
    }

    public Criteria andCodeNotIn(String[] values) {
      if (values.length == 1) {
        return andCodeNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Code + " not in", Arrays.asList(values), "code");
        return this;
      }
    }

    public Criteria andCodeIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Code + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andCodeNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Code + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andCodeBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.Code + " between", value1, value2, "code");
      return this;
    }

    public Criteria andCodeNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.Code + " not between", value1, value2, "code");
      return this;
    }

    public Criteria andTitleIsNull() {
      addCriterion(IProductUIFormFieldDAO.Title + " is null");
      return this;
    }

    public Criteria andTitleIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.Title + " is not null");
      return this;
    }

    public Criteria andTitleIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.Title
              + " is not null AND "
              + IProductUIFormFieldDAO.Title
              + " <> ''");
      return this;
    }

    public Criteria andTitleIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.Title
              + " is null OR "
              + IProductUIFormFieldDAO.Title
              + " = '')");
      return this;
    }

    public Criteria andTitleEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Title + " = ", value, "title");
      return this;
    }

    public Criteria andTitleEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Title);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Title + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Title + " <>", value, "title");
      return this;
    }

    public Criteria andTitleNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.Title + " is null OR " + IProductUIFormFieldDAO.Title + " <>",
          value,
          "title");
      return this;
    }

    public Criteria andTitleNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Title);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleNotEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Title + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.Title + " >", value, "title");
      return this;
    }

    public Criteria andTitleGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Title);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Title + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Title + " >=", value, "title");
      return this;
    }

    public Criteria andTitleGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Title);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Title + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.Title + " <", value, "title");
      return this;
    }

    public Criteria andTitleLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Title);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Title + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Title + " <=", value, "title");
      return this;
    }

    public Criteria andTitleLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Title);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Title + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.Title + " like", buffer.toString(), "title");
      return this;
    }

    public Criteria andTitleNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.Title + " not like", buffer.toString(), "title");
      return this;
    }

    public Criteria andTitleIn(List<String> values) {

      if (values.size() == 1) {
        return andTitleEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Title + " in", values, "title");
        return this;
      }
    }

    public Criteria andTitleNotIn(List<String> values) {
      if (values.size() == 1) {
        return andTitleNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Title + " not in", values, "title");
        return this;
      }
    }

    public Criteria andTitleIn(String[] values) {

      if (values.length == 1) {
        return andTitleEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Title + " in", Arrays.asList(values), "title");
        return this;
      }
    }

    public Criteria andTitleNotIn(String[] values) {
      if (values.length == 1) {
        return andTitleNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Title + " not in", Arrays.asList(values), "title");
        return this;
      }
    }

    public Criteria andTitleIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Title + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Title + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.Title + " between", value1, value2, "title");
      return this;
    }

    public Criteria andTitleNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.Title + " not between", value1, value2, "title");
      return this;
    }

    public Criteria andTitleKeyIsNull() {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " is null");
      return this;
    }

    public Criteria andTitleKeyIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " is not null");
      return this;
    }

    public Criteria andTitleKeyIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.TitleKey
              + " is not null AND "
              + IProductUIFormFieldDAO.TitleKey
              + " <> ''");
      return this;
    }

    public Criteria andTitleKeyIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.TitleKey
              + " is null OR "
              + IProductUIFormFieldDAO.TitleKey
              + " = '')");
      return this;
    }

    public Criteria andTitleKeyEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TitleKey + " = ", value, "titleKey");
      return this;
    }

    public Criteria andTitleKeyEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TitleKey);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleKeyEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleKeyNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TitleKey + " <>", value, "titleKey");
      return this;
    }

    public Criteria andTitleKeyNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.TitleKey
              + " is null OR "
              + IProductUIFormFieldDAO.TitleKey
              + " <>",
          value,
          "titleKey");
      return this;
    }

    public Criteria andTitleKeyNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TitleKey);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleKeyNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleKeyGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.TitleKey + " >", value, "titleKey");
      return this;
    }

    public Criteria andTitleKeyGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TitleKey);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleKeyGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleKeyGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TitleKey + " >=", value, "titleKey");
      return this;
    }

    public Criteria andTitleKeyGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TitleKey);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleKeyGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleKeyLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.TitleKey + " <", value, "titleKey");
      return this;
    }

    public Criteria andTitleKeyLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TitleKey);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleKeyLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleKeyLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TitleKey + " <=", value, "titleKey");
      return this;
    }

    public Criteria andTitleKeyLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TitleKey);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTitleKeyLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleKeyLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.TitleKey + " like", buffer.toString(), "titleKey");
      return this;
    }

    public Criteria andTitleKeyNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.TitleKey + " not like", buffer.toString(), "titleKey");
      return this;
    }

    public Criteria andTitleKeyIn(List<String> values) {

      if (values.size() == 1) {
        return andTitleKeyEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TitleKey + " in", values, "titleKey");
        return this;
      }
    }

    public Criteria andTitleKeyNotIn(List<String> values) {
      if (values.size() == 1) {
        return andTitleKeyNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TitleKey + " not in", values, "titleKey");
        return this;
      }
    }

    public Criteria andTitleKeyIn(String[] values) {

      if (values.length == 1) {
        return andTitleKeyEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.TitleKey + " in", Arrays.asList(values), "titleKey");
        return this;
      }
    }

    public Criteria andTitleKeyNotIn(String[] values) {
      if (values.length == 1) {
        return andTitleKeyNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.TitleKey + " not in", Arrays.asList(values), "titleKey");
        return this;
      }
    }

    public Criteria andTitleKeyIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleKeyNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTitleKeyBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " between", value1, value2, "titleKey");
      return this;
    }

    public Criteria andTitleKeyNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.TitleKey + " not between", value1, value2, "titleKey");
      return this;
    }

    public Criteria andTipInfoIsNull() {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " is null");
      return this;
    }

    public Criteria andTipInfoIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " is not null");
      return this;
    }

    public Criteria andTipInfoIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.TipInfo
              + " is not null AND "
              + IProductUIFormFieldDAO.TipInfo
              + " <> ''");
      return this;
    }

    public Criteria andTipInfoIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.TipInfo
              + " is null OR "
              + IProductUIFormFieldDAO.TipInfo
              + " = '')");
      return this;
    }

    public Criteria andTipInfoEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TipInfo + " = ", value, "tipInfo");
      return this;
    }

    public Criteria andTipInfoEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TipInfo);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTipInfoEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andTipInfoNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TipInfo + " <>", value, "tipInfo");
      return this;
    }

    public Criteria andTipInfoNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.TipInfo + " is null OR " + IProductUIFormFieldDAO.TipInfo + " <>",
          value,
          "tipInfo");
      return this;
    }

    public Criteria andTipInfoNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TipInfo);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTipInfoNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andTipInfoGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.TipInfo + " >", value, "tipInfo");
      return this;
    }

    public Criteria andTipInfoGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TipInfo);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTipInfoGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andTipInfoGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TipInfo + " >=", value, "tipInfo");
      return this;
    }

    public Criteria andTipInfoGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TipInfo);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTipInfoGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTipInfoLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.TipInfo + " <", value, "tipInfo");
      return this;
    }

    public Criteria andTipInfoLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TipInfo);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTipInfoLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andTipInfoLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TipInfo + " <=", value, "tipInfo");
      return this;
    }

    public Criteria andTipInfoLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TipInfo);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTipInfoLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTipInfoLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.TipInfo + " like", buffer.toString(), "tipInfo");
      return this;
    }

    public Criteria andTipInfoNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.TipInfo + " not like", buffer.toString(), "tipInfo");
      return this;
    }

    public Criteria andTipInfoIn(List<String> values) {

      if (values.size() == 1) {
        return andTipInfoEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TipInfo + " in", values, "tipInfo");
        return this;
      }
    }

    public Criteria andTipInfoNotIn(List<String> values) {
      if (values.size() == 1) {
        return andTipInfoNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TipInfo + " not in", values, "tipInfo");
        return this;
      }
    }

    public Criteria andTipInfoIn(String[] values) {

      if (values.length == 1) {
        return andTipInfoEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.TipInfo + " in", Arrays.asList(values), "tipInfo");
        return this;
      }
    }

    public Criteria andTipInfoNotIn(String[] values) {
      if (values.length == 1) {
        return andTipInfoNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.TipInfo + " not in", Arrays.asList(values), "tipInfo");
        return this;
      }
    }

    public Criteria andTipInfoIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTipInfoNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTipInfoBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " between", value1, value2, "tipInfo");
      return this;
    }

    public Criteria andTipInfoNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.TipInfo + " not between", value1, value2, "tipInfo");
      return this;
    }

    public Criteria andReadOnlyIsNull() {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " is null");
      return this;
    }

    public Criteria andReadOnlyIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " is not null");
      return this;
    }

    public Criteria andReadOnlyIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.ReadOnly
              + " is not null AND "
              + IProductUIFormFieldDAO.ReadOnly
              + " <> ''");
      return this;
    }

    public Criteria andReadOnlyIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.ReadOnly
              + " is null OR "
              + IProductUIFormFieldDAO.ReadOnly
              + " = '')");
      return this;
    }

    public Criteria andReadOnlyEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.ReadOnly + " = ", value, "readOnly");
      return this;
    }

    public Criteria andReadOnlyEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ReadOnly);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andReadOnlyEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andReadOnlyNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.ReadOnly + " <>", value, "readOnly");
      return this;
    }

    public Criteria andReadOnlyNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.ReadOnly
              + " is null OR "
              + IProductUIFormFieldDAO.ReadOnly
              + " <>",
          value,
          "readOnly");
      return this;
    }

    public Criteria andReadOnlyNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ReadOnly);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andReadOnlyNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andReadOnlyGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.ReadOnly + " >", value, "readOnly");
      return this;
    }

    public Criteria andReadOnlyGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ReadOnly);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andReadOnlyGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andReadOnlyGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.ReadOnly + " >=", value, "readOnly");
      return this;
    }

    public Criteria andReadOnlyGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ReadOnly);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andReadOnlyGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andReadOnlyLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.ReadOnly + " <", value, "readOnly");
      return this;
    }

    public Criteria andReadOnlyLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ReadOnly);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andReadOnlyLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andReadOnlyLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.ReadOnly + " <=", value, "readOnly");
      return this;
    }

    public Criteria andReadOnlyLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ReadOnly);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andReadOnlyLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andReadOnlyLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " like", buffer.toString(), "readOnly");
      return this;
    }

    public Criteria andReadOnlyNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " not like", buffer.toString(), "readOnly");
      return this;
    }

    public Criteria andReadOnlyIn(List<String> values) {

      if (values.size() == 1) {
        return andReadOnlyEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.ReadOnly + " in", values, "readOnly");
        return this;
      }
    }

    public Criteria andReadOnlyNotIn(List<String> values) {
      if (values.size() == 1) {
        return andReadOnlyNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.ReadOnly + " not in", values, "readOnly");
        return this;
      }
    }

    public Criteria andReadOnlyIn(String[] values) {

      if (values.length == 1) {
        return andReadOnlyEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.ReadOnly + " in", Arrays.asList(values), "readOnly");
        return this;
      }
    }

    public Criteria andReadOnlyNotIn(String[] values) {
      if (values.length == 1) {
        return andReadOnlyNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.ReadOnly + " not in", Arrays.asList(values), "readOnly");
        return this;
      }
    }

    public Criteria andReadOnlyIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andReadOnlyNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andReadOnlyBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " between", value1, value2, "readOnly");
      return this;
    }

    public Criteria andReadOnlyNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.ReadOnly + " not between", value1, value2, "readOnly");
      return this;
    }

    public Criteria andAllowEmptyIsNull() {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " is null");
      return this;
    }

    public Criteria andAllowEmptyIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " is not null");
      return this;
    }

    public Criteria andAllowEmptyIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.AllowEmpty
              + " is not null AND "
              + IProductUIFormFieldDAO.AllowEmpty
              + " <> ''");
      return this;
    }

    public Criteria andAllowEmptyIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.AllowEmpty
              + " is null OR "
              + IProductUIFormFieldDAO.AllowEmpty
              + " = '')");
      return this;
    }

    public Criteria andAllowEmptyEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " = ", value, "allowEmpty");
      return this;
    }

    public Criteria andAllowEmptyEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowEmpty);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowEmptyEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowEmptyNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " <>", value, "allowEmpty");
      return this;
    }

    public Criteria andAllowEmptyNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.AllowEmpty
              + " is null OR "
              + IProductUIFormFieldDAO.AllowEmpty
              + " <>",
          value,
          "allowEmpty");
      return this;
    }

    public Criteria andAllowEmptyNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowEmpty);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowEmptyNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowEmptyGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " >", value, "allowEmpty");
      return this;
    }

    public Criteria andAllowEmptyGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowEmpty);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowEmptyGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowEmptyGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " >=", value, "allowEmpty");
      return this;
    }

    public Criteria andAllowEmptyGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowEmpty);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowEmptyGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowEmptyLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " <", value, "allowEmpty");
      return this;
    }

    public Criteria andAllowEmptyLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowEmpty);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowEmptyLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowEmptyLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " <=", value, "allowEmpty");
      return this;
    }

    public Criteria andAllowEmptyLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowEmpty);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowEmptyLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowEmptyLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " like", buffer.toString(), "allowEmpty");
      return this;
    }

    public Criteria andAllowEmptyNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.AllowEmpty + " not like", buffer.toString(), "allowEmpty");
      return this;
    }

    public Criteria andAllowEmptyIn(List<String> values) {

      if (values.size() == 1) {
        return andAllowEmptyEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.AllowEmpty + " in", values, "allowEmpty");
        return this;
      }
    }

    public Criteria andAllowEmptyNotIn(List<String> values) {
      if (values.size() == 1) {
        return andAllowEmptyNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.AllowEmpty + " not in", values, "allowEmpty");
        return this;
      }
    }

    public Criteria andAllowEmptyIn(String[] values) {

      if (values.length == 1) {
        return andAllowEmptyEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.AllowEmpty + " in", Arrays.asList(values), "allowEmpty");
        return this;
      }
    }

    public Criteria andAllowEmptyNotIn(String[] values) {
      if (values.length == 1) {
        return andAllowEmptyNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.AllowEmpty + " not in", Arrays.asList(values), "allowEmpty");
        return this;
      }
    }

    public Criteria andAllowEmptyIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowEmptyNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowEmptyBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.AllowEmpty + " between", value1, value2, "allowEmpty");
      return this;
    }

    public Criteria andAllowEmptyNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.AllowEmpty + " not between", value1, value2, "allowEmpty");
      return this;
    }

    public Criteria andDataSourceIsNull() {
      addCriterion(IProductUIFormFieldDAO.DataSource + " is null");
      return this;
    }

    public Criteria andDataSourceIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.DataSource + " is not null");
      return this;
    }

    public Criteria andDataSourceIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.DataSource
              + " is not null AND "
              + IProductUIFormFieldDAO.DataSource
              + " <> ''");
      return this;
    }

    public Criteria andDataSourceIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.DataSource
              + " is null OR "
              + IProductUIFormFieldDAO.DataSource
              + " = '')");
      return this;
    }

    public Criteria andDataSourceEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSource + " = ", value, "dataSource");
      return this;
    }

    public Criteria andDataSourceEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSource);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSource + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSource + " <>", value, "dataSource");
      return this;
    }

    public Criteria andDataSourceNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.DataSource
              + " is null OR "
              + IProductUIFormFieldDAO.DataSource
              + " <>",
          value,
          "dataSource");
      return this;
    }

    public Criteria andDataSourceNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSource);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSource + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSource + " >", value, "dataSource");
      return this;
    }

    public Criteria andDataSourceGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSource);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSource + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSource + " >=", value, "dataSource");
      return this;
    }

    public Criteria andDataSourceGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSource);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSource + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSource + " <", value, "dataSource");
      return this;
    }

    public Criteria andDataSourceLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSource);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSource + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSource + " <=", value, "dataSource");
      return this;
    }

    public Criteria andDataSourceLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSource);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSource + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.DataSource + " like", buffer.toString(), "dataSource");
      return this;
    }

    public Criteria andDataSourceNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.DataSource + " not like", buffer.toString(), "dataSource");
      return this;
    }

    public Criteria andDataSourceIn(List<String> values) {

      if (values.size() == 1) {
        return andDataSourceEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.DataSource + " in", values, "dataSource");
        return this;
      }
    }

    public Criteria andDataSourceNotIn(List<String> values) {
      if (values.size() == 1) {
        return andDataSourceNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.DataSource + " not in", values, "dataSource");
        return this;
      }
    }

    public Criteria andDataSourceIn(String[] values) {

      if (values.length == 1) {
        return andDataSourceEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.DataSource + " in", Arrays.asList(values), "dataSource");
        return this;
      }
    }

    public Criteria andDataSourceNotIn(String[] values) {
      if (values.length == 1) {
        return andDataSourceNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.DataSource + " not in", Arrays.asList(values), "dataSource");
        return this;
      }
    }

    public Criteria andDataSourceIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSource + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSource + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.DataSource + " between", value1, value2, "dataSource");
      return this;
    }

    public Criteria andDataSourceNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.DataSource + " not between", value1, value2, "dataSource");
      return this;
    }

    public Criteria andStyleIsNull() {
      addCriterion(IProductUIFormFieldDAO.Style + " is null");
      return this;
    }

    public Criteria andStyleIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.Style + " is not null");
      return this;
    }

    public Criteria andStyleIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.Style
              + " is not null AND "
              + IProductUIFormFieldDAO.Style
              + " <> ''");
      return this;
    }

    public Criteria andStyleIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.Style
              + " is null OR "
              + IProductUIFormFieldDAO.Style
              + " = '')");
      return this;
    }

    public Criteria andStyleEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Style + " = ", value, "style");
      return this;
    }

    public Criteria andStyleEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Style);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStyleEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Style + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andStyleNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Style + " <>", value, "style");
      return this;
    }

    public Criteria andStyleNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.Style + " is null OR " + IProductUIFormFieldDAO.Style + " <>",
          value,
          "style");
      return this;
    }

    public Criteria andStyleNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Style);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStyleNotEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Style + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andStyleGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.Style + " >", value, "style");
      return this;
    }

    public Criteria andStyleGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Style);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStyleGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Style + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andStyleGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Style + " >=", value, "style");
      return this;
    }

    public Criteria andStyleGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Style);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStyleGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Style + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStyleLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.Style + " <", value, "style");
      return this;
    }

    public Criteria andStyleLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Style);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStyleLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Style + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andStyleLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Style + " <=", value, "style");
      return this;
    }

    public Criteria andStyleLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Style);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStyleLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Style + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStyleLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.Style + " like", buffer.toString(), "style");
      return this;
    }

    public Criteria andStyleNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.Style + " not like", buffer.toString(), "style");
      return this;
    }

    public Criteria andStyleIn(List<String> values) {

      if (values.size() == 1) {
        return andStyleEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Style + " in", values, "style");
        return this;
      }
    }

    public Criteria andStyleNotIn(List<String> values) {
      if (values.size() == 1) {
        return andStyleNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Style + " not in", values, "style");
        return this;
      }
    }

    public Criteria andStyleIn(String[] values) {

      if (values.length == 1) {
        return andStyleEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Style + " in", Arrays.asList(values), "style");
        return this;
      }
    }

    public Criteria andStyleNotIn(String[] values) {
      if (values.length == 1) {
        return andStyleNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Style + " not in", Arrays.asList(values), "style");
        return this;
      }
    }

    public Criteria andStyleIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Style + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStyleNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Style + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStyleBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.Style + " between", value1, value2, "style");
      return this;
    }

    public Criteria andStyleNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.Style + " not between", value1, value2, "style");
      return this;
    }

    public Criteria andParameterValueIsNull() {
      addCriterion(IProductUIFormFieldDAO.ParameterValue + " is null");
      return this;
    }

    public Criteria andParameterValueIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.ParameterValue + " is not null");
      return this;
    }

    public Criteria andParameterValueIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.ParameterValue
              + " is not null AND "
              + IProductUIFormFieldDAO.ParameterValue
              + " <> ''");
      return this;
    }

    public Criteria andParameterValueIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.ParameterValue
              + " is null OR "
              + IProductUIFormFieldDAO.ParameterValue
              + " = '')");
      return this;
    }

    public Criteria andParameterValueEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.ParameterValue + " = ", value, "parameterValue");
      return this;
    }

    public Criteria andParameterValueEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParameterValue);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParameterValueEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParameterValue + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andParameterValueNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.ParameterValue + " <>", value, "parameterValue");
      return this;
    }

    public Criteria andParameterValueNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.ParameterValue
              + " is null OR "
              + IProductUIFormFieldDAO.ParameterValue
              + " <>",
          value,
          "parameterValue");
      return this;
    }

    public Criteria andParameterValueNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParameterValue);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParameterValueNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParameterValue + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andParameterValueGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.ParameterValue + " >", value, "parameterValue");
      return this;
    }

    public Criteria andParameterValueGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParameterValue);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParameterValueGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParameterValue + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andParameterValueGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.ParameterValue + " >=", value, "parameterValue");
      return this;
    }

    public Criteria andParameterValueGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParameterValue);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParameterValueGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParameterValue + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andParameterValueLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.ParameterValue + " <", value, "parameterValue");
      return this;
    }

    public Criteria andParameterValueLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParameterValue);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParameterValueLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParameterValue + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andParameterValueLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.ParameterValue + " <=", value, "parameterValue");
      return this;
    }

    public Criteria andParameterValueLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ParameterValue);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParameterValueLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParameterValue + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andParameterValueLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.ParameterValue + " like", buffer.toString(), "parameterValue");
      return this;
    }

    public Criteria andParameterValueNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.ParameterValue + " not like", buffer.toString(), "parameterValue");
      return this;
    }

    public Criteria andParameterValueIn(List<String> values) {

      if (values.size() == 1) {
        return andParameterValueEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.ParameterValue + " in", values, "parameterValue");
        return this;
      }
    }

    public Criteria andParameterValueNotIn(List<String> values) {
      if (values.size() == 1) {
        return andParameterValueNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.ParameterValue + " not in", values, "parameterValue");
        return this;
      }
    }

    public Criteria andParameterValueIn(String[] values) {

      if (values.length == 1) {
        return andParameterValueEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.ParameterValue + " in", Arrays.asList(values), "parameterValue");
        return this;
      }
    }

    public Criteria andParameterValueNotIn(String[] values) {
      if (values.length == 1) {
        return andParameterValueNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.ParameterValue + " not in",
            Arrays.asList(values),
            "parameterValue");
        return this;
      }
    }

    public Criteria andParameterValueIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParameterValue + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andParameterValueNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ParameterValue + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andParameterValueBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.ParameterValue + " between", value1, value2, "parameterValue");
      return this;
    }

    public Criteria andParameterValueNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.ParameterValue + " not between", value1, value2, "parameterValue");
      return this;
    }

    public Criteria andSortIndexIsNull() {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " is null");
      return this;
    }

    public Criteria andSortIndexIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " is not null");
      return this;
    }

    public Criteria andSortIndexIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.SortIndex
              + " is not null AND "
              + IProductUIFormFieldDAO.SortIndex
              + " <> ''");
      return this;
    }

    public Criteria andSortIndexIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.SortIndex
              + " is null OR "
              + IProductUIFormFieldDAO.SortIndex
              + " = '')");
      return this;
    }

    public Criteria andSortIndexEqualTo(int value) {
      return andSortIndexEqualTo(Integer.valueOf(value));
    }

    public Criteria andSortIndexEqualTo(java.lang.Integer value) {

      addCriterion(IProductUIFormFieldDAO.SortIndex + " = ", value, "sortIndex");
      return this;
    }

    public Criteria andSortIndexEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.SortIndex);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andSortIndexEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andSortIndexNotEqualTo(int value) {
      return andSortIndexNotEqualTo(Integer.valueOf(value));
    }

    public Criteria andSortIndexNotEqualTo(java.lang.Integer value) {

      addCriterion(IProductUIFormFieldDAO.SortIndex + " <>", value, "sortIndex");
      return this;
    }

    public Criteria andSortIndexNotEqualToOrIsNull(int value) {
      return andSortIndexNotEqualToOrIsNull(Integer.valueOf(value));
    }

    public Criteria andSortIndexNotEqualToOrIsNull(java.lang.Integer value) {

      addCriterion(
          IProductUIFormFieldDAO.SortIndex
              + " is null OR "
              + IProductUIFormFieldDAO.SortIndex
              + " <>",
          value,
          "sortIndex");
      return this;
    }

    public Criteria andSortIndexNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.SortIndex);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andSortIndexNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andSortIndexGreaterThan(int value) {
      return andSortIndexGreaterThan(Integer.valueOf(value));
    }

    public Criteria andSortIndexGreaterThan(java.lang.Integer value) {

      addCriterion(IProductUIFormFieldDAO.SortIndex + " >", value, "sortIndex");
      return this;
    }

    public Criteria andSortIndexGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.SortIndex);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andSortIndexGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andSortIndexGreaterThanOrEqualTo(int value) {
      return andSortIndexGreaterThanOrEqualTo(Integer.valueOf(value));
    }

    public Criteria andSortIndexGreaterThanOrEqualTo(java.lang.Integer value) {

      addCriterion(IProductUIFormFieldDAO.SortIndex + " >=", value, "sortIndex");
      return this;
    }

    public Criteria andSortIndexGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.SortIndex);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andSortIndexGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andSortIndexLessThan(int value) {
      return andSortIndexLessThan(Integer.valueOf(value));
    }

    public Criteria andSortIndexLessThan(java.lang.Integer value) {

      addCriterion(IProductUIFormFieldDAO.SortIndex + " <", value, "sortIndex");
      return this;
    }

    public Criteria andSortIndexLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.SortIndex);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andSortIndexLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andSortIndexLessThanOrEqualTo(int value) {
      return andSortIndexLessThanOrEqualTo(Integer.valueOf(value));
    }

    public Criteria andSortIndexLessThanOrEqualTo(java.lang.Integer value) {

      addCriterion(IProductUIFormFieldDAO.SortIndex + " <=", value, "sortIndex");
      return this;
    }

    public Criteria andSortIndexLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.SortIndex);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andSortIndexLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andSortIndexIn(int[] values) {
      if (values.length == 1) {
        return andSortIndexEqualTo((java.lang.Integer) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.SortIndex + " in", values, "sortIndex");
        return this;
      }
    }

    public Criteria andSortIndexNotIn(int[] values) {
      if (values.length == 1) {
        return andSortIndexNotEqualTo((java.lang.Integer) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.SortIndex + " not in", values, "sortIndex");
        return this;
      }
    }

    public Criteria andSortIndexIn(List<java.lang.Integer> values) {

      if (values.size() == 1) {
        return andSortIndexEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.SortIndex + " in", values, "sortIndex");
        return this;
      }
    }

    public Criteria andSortIndexNotIn(List<java.lang.Integer> values) {
      if (values.size() == 1) {
        return andSortIndexNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.SortIndex + " not in", values, "sortIndex");
        return this;
      }
    }

    public Criteria andSortIndexIn(java.lang.Integer[] values) {

      if (values.length == 1) {
        return andSortIndexEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.SortIndex + " in", Arrays.asList(values), "sortIndex");
        return this;
      }
    }

    public Criteria andSortIndexNotIn(java.lang.Integer[] values) {
      if (values.length == 1) {
        return andSortIndexNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.SortIndex + " not in", Arrays.asList(values), "sortIndex");
        return this;
      }
    }

    public Criteria andSortIndexIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andSortIndexNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andSortIndexBetween(int value1, int value2) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " between", value1, value2, "sortIndex");
      return this;
    }

    public Criteria andSortIndexBetween(java.lang.Integer value1, java.lang.Integer value2) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " between", value1, value2, "sortIndex");
      return this;
    }

    public Criteria andSortIndexNotBetween(int value1, int value2) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " not between", value1, value2, "sortIndex");
      return this;
    }

    public Criteria andSortIndexNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
      addCriterion(IProductUIFormFieldDAO.SortIndex + " not between", value1, value2, "sortIndex");
      return this;
    }

    public Criteria andStatusIsNull() {
      addCriterion(IProductUIFormFieldDAO.Status + " is null");
      return this;
    }

    public Criteria andStatusIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.Status + " is not null");
      return this;
    }

    public Criteria andStatusIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.Status
              + " is not null AND "
              + IProductUIFormFieldDAO.Status
              + " <> ''");
      return this;
    }

    public Criteria andStatusIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.Status
              + " is null OR "
              + IProductUIFormFieldDAO.Status
              + " = '')");
      return this;
    }

    public Criteria andStatusEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Status + " = ", value, "status");
      return this;
    }

    public Criteria andStatusEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Status);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Status + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Status + " <>", value, "status");
      return this;
    }

    public Criteria andStatusNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.Status + " is null OR " + IProductUIFormFieldDAO.Status + " <>",
          value,
          "status");
      return this;
    }

    public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Status);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Status + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.Status + " >", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Status);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Status + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Status + " >=", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Status);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Status + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.Status + " <", value, "status");
      return this;
    }

    public Criteria andStatusLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Status);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Status + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Status + " <=", value, "status");
      return this;
    }

    public Criteria andStatusLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Status);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Status + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.Status + " like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.Status + " not like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusIn(List<String> values) {

      if (values.size() == 1) {
        return andStatusEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Status + " in", values, "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(List<String> values) {
      if (values.size() == 1) {
        return andStatusNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Status + " not in", values, "status");
        return this;
      }
    }

    public Criteria andStatusIn(String[] values) {

      if (values.length == 1) {
        return andStatusEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Status + " in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(String[] values) {
      if (values.length == 1) {
        return andStatusNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Status + " not in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Status + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Status + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.Status + " between", value1, value2, "status");
      return this;
    }

    public Criteria andStatusNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.Status + " not between", value1, value2, "status");
      return this;
    }

    public Criteria andRemarksIsNull() {
      addCriterion(IProductUIFormFieldDAO.Remarks + " is null");
      return this;
    }

    public Criteria andRemarksIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.Remarks + " is not null");
      return this;
    }

    public Criteria andRemarksIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.Remarks
              + " is not null AND "
              + IProductUIFormFieldDAO.Remarks
              + " <> ''");
      return this;
    }

    public Criteria andRemarksIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.Remarks
              + " is null OR "
              + IProductUIFormFieldDAO.Remarks
              + " = '')");
      return this;
    }

    public Criteria andRemarksEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Remarks + " = ", value, "remarks");
      return this;
    }

    public Criteria andRemarksEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Remarks);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Remarks + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Remarks + " <>", value, "remarks");
      return this;
    }

    public Criteria andRemarksNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.Remarks + " is null OR " + IProductUIFormFieldDAO.Remarks + " <>",
          value,
          "remarks");
      return this;
    }

    public Criteria andRemarksNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Remarks);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Remarks + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.Remarks + " >", value, "remarks");
      return this;
    }

    public Criteria andRemarksGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Remarks);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Remarks + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Remarks + " >=", value, "remarks");
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Remarks);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Remarks + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.Remarks + " <", value, "remarks");
      return this;
    }

    public Criteria andRemarksLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Remarks);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Remarks + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.Remarks + " <=", value, "remarks");
      return this;
    }

    public Criteria andRemarksLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.Remarks);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Remarks + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.Remarks + " like", buffer.toString(), "remarks");
      return this;
    }

    public Criteria andRemarksNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.Remarks + " not like", buffer.toString(), "remarks");
      return this;
    }

    public Criteria andRemarksIn(List<String> values) {

      if (values.size() == 1) {
        return andRemarksEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Remarks + " in", values, "remarks");
        return this;
      }
    }

    public Criteria andRemarksNotIn(List<String> values) {
      if (values.size() == 1) {
        return andRemarksNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.Remarks + " not in", values, "remarks");
        return this;
      }
    }

    public Criteria andRemarksIn(String[] values) {

      if (values.length == 1) {
        return andRemarksEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Remarks + " in", Arrays.asList(values), "remarks");
        return this;
      }
    }

    public Criteria andRemarksNotIn(String[] values) {
      if (values.length == 1) {
        return andRemarksNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.Remarks + " not in", Arrays.asList(values), "remarks");
        return this;
      }
    }

    public Criteria andRemarksIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Remarks + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.Remarks + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.Remarks + " between", value1, value2, "remarks");
      return this;
    }

    public Criteria andRemarksNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.Remarks + " not between", value1, value2, "remarks");
      return this;
    }

    public Criteria andModelPropertyIdIsNull() {
      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " is null");
      return this;
    }

    public Criteria andModelPropertyIdIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " is not null");
      return this;
    }

    public Criteria andModelPropertyIdIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.ModelPropertyId
              + " is not null AND "
              + IProductUIFormFieldDAO.ModelPropertyId
              + " <> ''");
      return this;
    }

    public Criteria andModelPropertyIdIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.ModelPropertyId
              + " is null OR "
              + IProductUIFormFieldDAO.ModelPropertyId
              + " = '')");
      return this;
    }

    public Criteria andModelPropertyIdEqualTo(long value) {
      return andModelPropertyIdEqualTo(Long.valueOf(value));
    }

    public Criteria andModelPropertyIdEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " = ", value, "modelPropertyId");
      return this;
    }

    public Criteria andModelPropertyIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ModelPropertyId);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andModelPropertyIdEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andModelPropertyIdNotEqualTo(long value) {
      return andModelPropertyIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andModelPropertyIdNotEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " <>", value, "modelPropertyId");
      return this;
    }

    public Criteria andModelPropertyIdNotEqualToOrIsNull(long value) {
      return andModelPropertyIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andModelPropertyIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IProductUIFormFieldDAO.ModelPropertyId
              + " is null OR "
              + IProductUIFormFieldDAO.ModelPropertyId
              + " <>",
          value,
          "modelPropertyId");
      return this;
    }

    public Criteria andModelPropertyIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ModelPropertyId);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andModelPropertyIdNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andModelPropertyIdGreaterThan(long value) {
      return andModelPropertyIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andModelPropertyIdGreaterThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " >", value, "modelPropertyId");
      return this;
    }

    public Criteria andModelPropertyIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ModelPropertyId);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andModelPropertyIdGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andModelPropertyIdGreaterThanOrEqualTo(long value) {
      return andModelPropertyIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andModelPropertyIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " >=", value, "modelPropertyId");
      return this;
    }

    public Criteria andModelPropertyIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ModelPropertyId);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andModelPropertyIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andModelPropertyIdLessThan(long value) {
      return andModelPropertyIdLessThan(Long.valueOf(value));
    }

    public Criteria andModelPropertyIdLessThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " <", value, "modelPropertyId");
      return this;
    }

    public Criteria andModelPropertyIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ModelPropertyId);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andModelPropertyIdLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andModelPropertyIdLessThanOrEqualTo(long value) {
      return andModelPropertyIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andModelPropertyIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " <=", value, "modelPropertyId");
      return this;
    }

    public Criteria andModelPropertyIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.ModelPropertyId);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andModelPropertyIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andModelPropertyIdIn(long[] values) {
      if (values.length == 1) {
        return andModelPropertyIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " in", values, "modelPropertyId");
        return this;
      }
    }

    public Criteria andModelPropertyIdNotIn(long[] values) {
      if (values.length == 1) {
        return andModelPropertyIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " not in", values, "modelPropertyId");
        return this;
      }
    }

    public Criteria andModelPropertyIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andModelPropertyIdEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " in", values, "modelPropertyId");
        return this;
      }
    }

    public Criteria andModelPropertyIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andModelPropertyIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " not in", values, "modelPropertyId");
        return this;
      }
    }

    public Criteria andModelPropertyIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andModelPropertyIdEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.ModelPropertyId + " in",
            Arrays.asList(values),
            "modelPropertyId");
        return this;
      }
    }

    public Criteria andModelPropertyIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andModelPropertyIdNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.ModelPropertyId + " not in",
            Arrays.asList(values),
            "modelPropertyId");
        return this;
      }
    }

    public Criteria andModelPropertyIdIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andModelPropertyIdNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.ModelPropertyId + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andModelPropertyIdBetween(long value1, long value2) {
      addCriterion(
          IProductUIFormFieldDAO.ModelPropertyId + " between", value1, value2, "modelPropertyId");
      return this;
    }

    public Criteria andModelPropertyIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IProductUIFormFieldDAO.ModelPropertyId + " between", value1, value2, "modelPropertyId");
      return this;
    }

    public Criteria andModelPropertyIdNotBetween(long value1, long value2) {
      addCriterion(
          IProductUIFormFieldDAO.ModelPropertyId + " not between",
          value1,
          value2,
          "modelPropertyId");
      return this;
    }

    public Criteria andModelPropertyIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IProductUIFormFieldDAO.ModelPropertyId + " not between",
          value1,
          value2,
          "modelPropertyId");
      return this;
    }

    public Criteria andFieldSpanIsNull() {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " is null");
      return this;
    }

    public Criteria andFieldSpanIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " is not null");
      return this;
    }

    public Criteria andFieldSpanIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.FieldSpan
              + " is not null AND "
              + IProductUIFormFieldDAO.FieldSpan
              + " <> ''");
      return this;
    }

    public Criteria andFieldSpanIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.FieldSpan
              + " is null OR "
              + IProductUIFormFieldDAO.FieldSpan
              + " = '')");
      return this;
    }

    public Criteria andFieldSpanEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldSpan + " = ", value, "fieldSpan");
      return this;
    }

    public Criteria andFieldSpanEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldSpan);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldSpanEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldSpanNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldSpan + " <>", value, "fieldSpan");
      return this;
    }

    public Criteria andFieldSpanNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.FieldSpan
              + " is null OR "
              + IProductUIFormFieldDAO.FieldSpan
              + " <>",
          value,
          "fieldSpan");
      return this;
    }

    public Criteria andFieldSpanNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldSpan);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldSpanNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldSpanGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldSpan + " >", value, "fieldSpan");
      return this;
    }

    public Criteria andFieldSpanGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldSpan);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldSpanGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldSpanGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldSpan + " >=", value, "fieldSpan");
      return this;
    }

    public Criteria andFieldSpanGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldSpan);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldSpanGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldSpanLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldSpan + " <", value, "fieldSpan");
      return this;
    }

    public Criteria andFieldSpanLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldSpan);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldSpanLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldSpanLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldSpan + " <=", value, "fieldSpan");
      return this;
    }

    public Criteria andFieldSpanLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldSpan);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldSpanLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldSpanLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " like", buffer.toString(), "fieldSpan");
      return this;
    }

    public Criteria andFieldSpanNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " not like", buffer.toString(), "fieldSpan");
      return this;
    }

    public Criteria andFieldSpanIn(List<String> values) {

      if (values.size() == 1) {
        return andFieldSpanEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.FieldSpan + " in", values, "fieldSpan");
        return this;
      }
    }

    public Criteria andFieldSpanNotIn(List<String> values) {
      if (values.size() == 1) {
        return andFieldSpanNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.FieldSpan + " not in", values, "fieldSpan");
        return this;
      }
    }

    public Criteria andFieldSpanIn(String[] values) {

      if (values.length == 1) {
        return andFieldSpanEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.FieldSpan + " in", Arrays.asList(values), "fieldSpan");
        return this;
      }
    }

    public Criteria andFieldSpanNotIn(String[] values) {
      if (values.length == 1) {
        return andFieldSpanNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.FieldSpan + " not in", Arrays.asList(values), "fieldSpan");
        return this;
      }
    }

    public Criteria andFieldSpanIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldSpanNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldSpanBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " between", value1, value2, "fieldSpan");
      return this;
    }

    public Criteria andFieldSpanNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.FieldSpan + " not between", value1, value2, "fieldSpan");
      return this;
    }

    public Criteria andFieldColumnIsNull() {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " is null");
      return this;
    }

    public Criteria andFieldColumnIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " is not null");
      return this;
    }

    public Criteria andFieldColumnIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.FieldColumn
              + " is not null AND "
              + IProductUIFormFieldDAO.FieldColumn
              + " <> ''");
      return this;
    }

    public Criteria andFieldColumnIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.FieldColumn
              + " is null OR "
              + IProductUIFormFieldDAO.FieldColumn
              + " = '')");
      return this;
    }

    public Criteria andFieldColumnEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldColumn + " = ", value, "fieldColumn");
      return this;
    }

    public Criteria andFieldColumnEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldColumn);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldColumnEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldColumnNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldColumn + " <>", value, "fieldColumn");
      return this;
    }

    public Criteria andFieldColumnNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.FieldColumn
              + " is null OR "
              + IProductUIFormFieldDAO.FieldColumn
              + " <>",
          value,
          "fieldColumn");
      return this;
    }

    public Criteria andFieldColumnNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldColumn);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldColumnNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldColumnGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldColumn + " >", value, "fieldColumn");
      return this;
    }

    public Criteria andFieldColumnGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldColumn);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldColumnGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldColumnGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldColumn + " >=", value, "fieldColumn");
      return this;
    }

    public Criteria andFieldColumnGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldColumn);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldColumnGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldColumnLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldColumn + " <", value, "fieldColumn");
      return this;
    }

    public Criteria andFieldColumnLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldColumn);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldColumnLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldColumnLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.FieldColumn + " <=", value, "fieldColumn");
      return this;
    }

    public Criteria andFieldColumnLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.FieldColumn);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFieldColumnLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldColumnLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " like", buffer.toString(), "fieldColumn");
      return this;
    }

    public Criteria andFieldColumnNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.FieldColumn + " not like", buffer.toString(), "fieldColumn");
      return this;
    }

    public Criteria andFieldColumnIn(List<String> values) {

      if (values.size() == 1) {
        return andFieldColumnEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.FieldColumn + " in", values, "fieldColumn");
        return this;
      }
    }

    public Criteria andFieldColumnNotIn(List<String> values) {
      if (values.size() == 1) {
        return andFieldColumnNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.FieldColumn + " not in", values, "fieldColumn");
        return this;
      }
    }

    public Criteria andFieldColumnIn(String[] values) {

      if (values.length == 1) {
        return andFieldColumnEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.FieldColumn + " in", Arrays.asList(values), "fieldColumn");
        return this;
      }
    }

    public Criteria andFieldColumnNotIn(String[] values) {
      if (values.length == 1) {
        return andFieldColumnNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.FieldColumn + " not in", Arrays.asList(values), "fieldColumn");
        return this;
      }
    }

    public Criteria andFieldColumnIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldColumnNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFieldColumnBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.FieldColumn + " between", value1, value2, "fieldColumn");
      return this;
    }

    public Criteria andFieldColumnNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.FieldColumn + " not between", value1, value2, "fieldColumn");
      return this;
    }

    public Criteria andRemenberValueIsNull() {
      addCriterion(IProductUIFormFieldDAO.RemenberValue + " is null");
      return this;
    }

    public Criteria andRemenberValueIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.RemenberValue + " is not null");
      return this;
    }

    public Criteria andRemenberValueIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.RemenberValue
              + " is not null AND "
              + IProductUIFormFieldDAO.RemenberValue
              + " <> ''");
      return this;
    }

    public Criteria andRemenberValueIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.RemenberValue
              + " is null OR "
              + IProductUIFormFieldDAO.RemenberValue
              + " = '')");
      return this;
    }

    public Criteria andRemenberValueEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.RemenberValue + " = ", value, "remenberValue");
      return this;
    }

    public Criteria andRemenberValueEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.RemenberValue);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemenberValueEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.RemenberValue + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemenberValueNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.RemenberValue + " <>", value, "remenberValue");
      return this;
    }

    public Criteria andRemenberValueNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.RemenberValue
              + " is null OR "
              + IProductUIFormFieldDAO.RemenberValue
              + " <>",
          value,
          "remenberValue");
      return this;
    }

    public Criteria andRemenberValueNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.RemenberValue);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemenberValueNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.RemenberValue + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemenberValueGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.RemenberValue + " >", value, "remenberValue");
      return this;
    }

    public Criteria andRemenberValueGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.RemenberValue);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemenberValueGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.RemenberValue + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemenberValueGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.RemenberValue + " >=", value, "remenberValue");
      return this;
    }

    public Criteria andRemenberValueGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.RemenberValue);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemenberValueGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.RemenberValue + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemenberValueLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.RemenberValue + " <", value, "remenberValue");
      return this;
    }

    public Criteria andRemenberValueLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.RemenberValue);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemenberValueLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.RemenberValue + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemenberValueLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.RemenberValue + " <=", value, "remenberValue");
      return this;
    }

    public Criteria andRemenberValueLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.RemenberValue);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemenberValueLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.RemenberValue + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemenberValueLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.RemenberValue + " like", buffer.toString(), "remenberValue");
      return this;
    }

    public Criteria andRemenberValueNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.RemenberValue + " not like", buffer.toString(), "remenberValue");
      return this;
    }

    public Criteria andRemenberValueIn(List<String> values) {

      if (values.size() == 1) {
        return andRemenberValueEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.RemenberValue + " in", values, "remenberValue");
        return this;
      }
    }

    public Criteria andRemenberValueNotIn(List<String> values) {
      if (values.size() == 1) {
        return andRemenberValueNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.RemenberValue + " not in", values, "remenberValue");
        return this;
      }
    }

    public Criteria andRemenberValueIn(String[] values) {

      if (values.length == 1) {
        return andRemenberValueEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.RemenberValue + " in", Arrays.asList(values), "remenberValue");
        return this;
      }
    }

    public Criteria andRemenberValueNotIn(String[] values) {
      if (values.length == 1) {
        return andRemenberValueNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.RemenberValue + " not in",
            Arrays.asList(values),
            "remenberValue");
        return this;
      }
    }

    public Criteria andRemenberValueIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.RemenberValue + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemenberValueNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.RemenberValue + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemenberValueBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.RemenberValue + " between", value1, value2, "remenberValue");
      return this;
    }

    public Criteria andRemenberValueNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.RemenberValue + " not between", value1, value2, "remenberValue");
      return this;
    }

    public Criteria andTypeWidgetIsNull() {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " is null");
      return this;
    }

    public Criteria andTypeWidgetIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " is not null");
      return this;
    }

    public Criteria andTypeWidgetIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.TypeWidget
              + " is not null AND "
              + IProductUIFormFieldDAO.TypeWidget
              + " <> ''");
      return this;
    }

    public Criteria andTypeWidgetIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.TypeWidget
              + " is null OR "
              + IProductUIFormFieldDAO.TypeWidget
              + " = '')");
      return this;
    }

    public Criteria andTypeWidgetEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeWidget + " = ", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeWidget);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeWidget + " <>", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.TypeWidget
              + " is null OR "
              + IProductUIFormFieldDAO.TypeWidget
              + " <>",
          value,
          "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeWidget);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeWidget + " >", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeWidget);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeWidget + " >=", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeWidget);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeWidget + " <", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeWidget);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeWidget + " <=", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeWidget);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " like", buffer.toString(), "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.TypeWidget + " not like", buffer.toString(), "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetIn(List<String> values) {

      if (values.size() == 1) {
        return andTypeWidgetEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeWidget + " in", values, "typeWidget");
        return this;
      }
    }

    public Criteria andTypeWidgetNotIn(List<String> values) {
      if (values.size() == 1) {
        return andTypeWidgetNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeWidget + " not in", values, "typeWidget");
        return this;
      }
    }

    public Criteria andTypeWidgetIn(String[] values) {

      if (values.length == 1) {
        return andTypeWidgetEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.TypeWidget + " in", Arrays.asList(values), "typeWidget");
        return this;
      }
    }

    public Criteria andTypeWidgetNotIn(String[] values) {
      if (values.length == 1) {
        return andTypeWidgetNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.TypeWidget + " not in", Arrays.asList(values), "typeWidget");
        return this;
      }
    }

    public Criteria andTypeWidgetIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.TypeWidget + " between", value1, value2, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.TypeWidget + " not between", value1, value2, "typeWidget");
      return this;
    }

    public Criteria andTypeNameIsNull() {
      addCriterion(IProductUIFormFieldDAO.TypeName + " is null");
      return this;
    }

    public Criteria andTypeNameIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.TypeName + " is not null");
      return this;
    }

    public Criteria andTypeNameIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.TypeName
              + " is not null AND "
              + IProductUIFormFieldDAO.TypeName
              + " <> ''");
      return this;
    }

    public Criteria andTypeNameIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.TypeName
              + " is null OR "
              + IProductUIFormFieldDAO.TypeName
              + " = '')");
      return this;
    }

    public Criteria andTypeNameEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeName + " = ", value, "typeName");
      return this;
    }

    public Criteria andTypeNameEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeName);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeName + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeName + " <>", value, "typeName");
      return this;
    }

    public Criteria andTypeNameNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.TypeName
              + " is null OR "
              + IProductUIFormFieldDAO.TypeName
              + " <>",
          value,
          "typeName");
      return this;
    }

    public Criteria andTypeNameNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeName);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeName + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeName + " >", value, "typeName");
      return this;
    }

    public Criteria andTypeNameGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeName);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeName + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeName + " >=", value, "typeName");
      return this;
    }

    public Criteria andTypeNameGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeName);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeName + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeName + " <", value, "typeName");
      return this;
    }

    public Criteria andTypeNameLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeName);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeName + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeName + " <=", value, "typeName");
      return this;
    }

    public Criteria andTypeNameLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeName);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeName + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.TypeName + " like", buffer.toString(), "typeName");
      return this;
    }

    public Criteria andTypeNameNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.TypeName + " not like", buffer.toString(), "typeName");
      return this;
    }

    public Criteria andTypeNameIn(List<String> values) {

      if (values.size() == 1) {
        return andTypeNameEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeName + " in", values, "typeName");
        return this;
      }
    }

    public Criteria andTypeNameNotIn(List<String> values) {
      if (values.size() == 1) {
        return andTypeNameNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeName + " not in", values, "typeName");
        return this;
      }
    }

    public Criteria andTypeNameIn(String[] values) {

      if (values.length == 1) {
        return andTypeNameEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeName + " in", Arrays.asList(values), "typeName");
        return this;
      }
    }

    public Criteria andTypeNameNotIn(String[] values) {
      if (values.length == 1) {
        return andTypeNameNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.TypeName + " not in", Arrays.asList(values), "typeName");
        return this;
      }
    }

    public Criteria andTypeNameIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeName + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeName + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.TypeName + " between", value1, value2, "typeName");
      return this;
    }

    public Criteria andTypeNameNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.TypeName + " not between", value1, value2, "typeName");
      return this;
    }

    public Criteria andAllowSubFieldIsNull() {
      addCriterion(IProductUIFormFieldDAO.AllowSubField + " is null");
      return this;
    }

    public Criteria andAllowSubFieldIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.AllowSubField + " is not null");
      return this;
    }

    public Criteria andAllowSubFieldIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.AllowSubField
              + " is not null AND "
              + IProductUIFormFieldDAO.AllowSubField
              + " <> ''");
      return this;
    }

    public Criteria andAllowSubFieldIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.AllowSubField
              + " is null OR "
              + IProductUIFormFieldDAO.AllowSubField
              + " = '')");
      return this;
    }

    public Criteria andAllowSubFieldEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowSubField + " = ", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowSubField);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowSubField + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowSubField + " <>", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.AllowSubField
              + " is null OR "
              + IProductUIFormFieldDAO.AllowSubField
              + " <>",
          value,
          "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowSubField);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowSubField + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowSubField + " >", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowSubField);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowSubField + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowSubField + " >=", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowSubField);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowSubField + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowSubField + " <", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowSubField);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowSubField + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.AllowSubField + " <=", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.AllowSubField);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowSubField + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.AllowSubField + " like", buffer.toString(), "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.AllowSubField + " not like", buffer.toString(), "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldIn(List<String> values) {

      if (values.size() == 1) {
        return andAllowSubFieldEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.AllowSubField + " in", values, "allowSubField");
        return this;
      }
    }

    public Criteria andAllowSubFieldNotIn(List<String> values) {
      if (values.size() == 1) {
        return andAllowSubFieldNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.AllowSubField + " not in", values, "allowSubField");
        return this;
      }
    }

    public Criteria andAllowSubFieldIn(String[] values) {

      if (values.length == 1) {
        return andAllowSubFieldEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.AllowSubField + " in", Arrays.asList(values), "allowSubField");
        return this;
      }
    }

    public Criteria andAllowSubFieldNotIn(String[] values) {
      if (values.length == 1) {
        return andAllowSubFieldNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.AllowSubField + " not in",
            Arrays.asList(values),
            "allowSubField");
        return this;
      }
    }

    public Criteria andAllowSubFieldIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowSubField + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.AllowSubField + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.AllowSubField + " between", value1, value2, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.AllowSubField + " not between", value1, value2, "allowSubField");
      return this;
    }

    public Criteria andTypeIconIsNull() {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " is null");
      return this;
    }

    public Criteria andTypeIconIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " is not null");
      return this;
    }

    public Criteria andTypeIconIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.TypeIcon
              + " is not null AND "
              + IProductUIFormFieldDAO.TypeIcon
              + " <> ''");
      return this;
    }

    public Criteria andTypeIconIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.TypeIcon
              + " is null OR "
              + IProductUIFormFieldDAO.TypeIcon
              + " = '')");
      return this;
    }

    public Criteria andTypeIconEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeIcon + " = ", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeIcon);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeIcon + " <>", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.TypeIcon
              + " is null OR "
              + IProductUIFormFieldDAO.TypeIcon
              + " <>",
          value,
          "typeIcon");
      return this;
    }

    public Criteria andTypeIconNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeIcon);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeIcon + " >", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeIcon);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeIcon + " >=", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeIcon);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeIcon + " <", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeIcon);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.TypeIcon + " <=", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.TypeIcon);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " like", buffer.toString(), "typeIcon");
      return this;
    }

    public Criteria andTypeIconNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " not like", buffer.toString(), "typeIcon");
      return this;
    }

    public Criteria andTypeIconIn(List<String> values) {

      if (values.size() == 1) {
        return andTypeIconEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeIcon + " in", values, "typeIcon");
        return this;
      }
    }

    public Criteria andTypeIconNotIn(List<String> values) {
      if (values.size() == 1) {
        return andTypeIconNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeIcon + " not in", values, "typeIcon");
        return this;
      }
    }

    public Criteria andTypeIconIn(String[] values) {

      if (values.length == 1) {
        return andTypeIconEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldDAO.TypeIcon + " in", Arrays.asList(values), "typeIcon");
        return this;
      }
    }

    public Criteria andTypeIconNotIn(String[] values) {
      if (values.length == 1) {
        return andTypeIconNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.TypeIcon + " not in", Arrays.asList(values), "typeIcon");
        return this;
      }
    }

    public Criteria andTypeIconIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " between", value1, value2, "typeIcon");
      return this;
    }

    public Criteria andTypeIconNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldDAO.TypeIcon + " not between", value1, value2, "typeIcon");
      return this;
    }

    public Criteria andDataSourceCodeIsNull() {
      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " is null");
      return this;
    }

    public Criteria andDataSourceCodeIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " is not null");
      return this;
    }

    public Criteria andDataSourceCodeIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.DataSourceCode
              + " is not null AND "
              + IProductUIFormFieldDAO.DataSourceCode
              + " <> ''");
      return this;
    }

    public Criteria andDataSourceCodeIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.DataSourceCode
              + " is null OR "
              + IProductUIFormFieldDAO.DataSourceCode
              + " = '')");
      return this;
    }

    public Criteria andDataSourceCodeEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " = ", value, "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceCodeEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceCode);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceCodeEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceCodeNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " <>", value, "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceCodeNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.DataSourceCode
              + " is null OR "
              + IProductUIFormFieldDAO.DataSourceCode
              + " <>",
          value,
          "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceCodeNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceCode);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceCodeNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceCodeGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " >", value, "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceCodeGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceCode);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceCodeGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceCodeGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " >=", value, "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceCodeGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceCode);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceCodeGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceCodeLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " <", value, "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceCodeLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceCode);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceCodeLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceCodeLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " <=", value, "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceCodeLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceCode);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceCodeLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceCodeLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.DataSourceCode + " like", buffer.toString(), "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceCodeNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.DataSourceCode + " not like", buffer.toString(), "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceCodeIn(List<String> values) {

      if (values.size() == 1) {
        return andDataSourceCodeEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.DataSourceCode + " in", values, "dataSourceCode");
        return this;
      }
    }

    public Criteria andDataSourceCodeNotIn(List<String> values) {
      if (values.size() == 1) {
        return andDataSourceCodeNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.DataSourceCode + " not in", values, "dataSourceCode");
        return this;
      }
    }

    public Criteria andDataSourceCodeIn(String[] values) {

      if (values.length == 1) {
        return andDataSourceCodeEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.DataSourceCode + " in", Arrays.asList(values), "dataSourceCode");
        return this;
      }
    }

    public Criteria andDataSourceCodeNotIn(String[] values) {
      if (values.length == 1) {
        return andDataSourceCodeNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.DataSourceCode + " not in",
            Arrays.asList(values),
            "dataSourceCode");
        return this;
      }
    }

    public Criteria andDataSourceCodeIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceCodeNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceCode + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceCodeBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.DataSourceCode + " between", value1, value2, "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceCodeNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.DataSourceCode + " not between", value1, value2, "dataSourceCode");
      return this;
    }

    public Criteria andDataSourceNameIsNull() {
      addCriterion(IProductUIFormFieldDAO.DataSourceName + " is null");
      return this;
    }

    public Criteria andDataSourceNameIsNotNull() {
      addCriterion(IProductUIFormFieldDAO.DataSourceName + " is not null");
      return this;
    }

    public Criteria andDataSourceNameIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldDAO.DataSourceName
              + " is not null AND "
              + IProductUIFormFieldDAO.DataSourceName
              + " <> ''");
      return this;
    }

    public Criteria andDataSourceNameIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldDAO.DataSourceName
              + " is null OR "
              + IProductUIFormFieldDAO.DataSourceName
              + " = '')");
      return this;
    }

    public Criteria andDataSourceNameEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceName + " = ", value, "dataSourceName");
      return this;
    }

    public Criteria andDataSourceNameEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceName);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceNameEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceName + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceNameNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceName + " <>", value, "dataSourceName");
      return this;
    }

    public Criteria andDataSourceNameNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldDAO.DataSourceName
              + " is null OR "
              + IProductUIFormFieldDAO.DataSourceName
              + " <>",
          value,
          "dataSourceName");
      return this;
    }

    public Criteria andDataSourceNameNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceName);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceNameNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceName + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceNameGreaterThan(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceName + " >", value, "dataSourceName");
      return this;
    }

    public Criteria andDataSourceNameGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceName);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceNameGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceName + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceNameGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceName + " >=", value, "dataSourceName");
      return this;
    }

    public Criteria andDataSourceNameGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceName);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceNameGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceName + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceNameLessThan(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceName + " <", value, "dataSourceName");
      return this;
    }

    public Criteria andDataSourceNameLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceName);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceNameLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceName + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceNameLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldDAO.DataSourceName + " <=", value, "dataSourceName");
      return this;
    }

    public Criteria andDataSourceNameLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldDAO.DataSourceName);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDataSourceNameLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceName + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceNameLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.DataSourceName + " like", buffer.toString(), "dataSourceName");
      return this;
    }

    public Criteria andDataSourceNameNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldDAO.DataSourceName + " not like", buffer.toString(), "dataSourceName");
      return this;
    }

    public Criteria andDataSourceNameIn(List<String> values) {

      if (values.size() == 1) {
        return andDataSourceNameEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.DataSourceName + " in", values, "dataSourceName");
        return this;
      }
    }

    public Criteria andDataSourceNameNotIn(List<String> values) {
      if (values.size() == 1) {
        return andDataSourceNameNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldDAO.DataSourceName + " not in", values, "dataSourceName");
        return this;
      }
    }

    public Criteria andDataSourceNameIn(String[] values) {

      if (values.length == 1) {
        return andDataSourceNameEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.DataSourceName + " in", Arrays.asList(values), "dataSourceName");
        return this;
      }
    }

    public Criteria andDataSourceNameNotIn(String[] values) {
      if (values.length == 1) {
        return andDataSourceNameNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldDAO.DataSourceName + " not in",
            Arrays.asList(values),
            "dataSourceName");
        return this;
      }
    }

    public Criteria andDataSourceNameIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceName + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceNameNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldDAO.DataSourceName + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andDataSourceNameBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.DataSourceName + " between", value1, value2, "dataSourceName");
      return this;
    }

    public Criteria andDataSourceNameNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldDAO.DataSourceName + " not between", value1, value2, "dataSourceName");
      return this;
    }
  }
}
